package com.linuxgt.baidu.zhidao;

public class Teacher {
    int number;
    char name;
    int age;
    int fabiaoshu;

}

class a {
    public static void main(String args[]) {
        Teacher a = new Teacher();
        a.number = 13524;
        a.name = 'a';
        a.age = 24;
        a.fabiaoshu = 3;
        Teacher b = new Teacher();
        b.number = 13556;
        b.name = 'b';
        b.age = 31;
        b.fabiaoshu = 2;
        Teacher c = new Teacher();
        c.number = 13543;
        c.name = 'c';
        c.age = 29;
        c.fabiaoshu = 0;
        Teacher d = new Teacher();
        d.number = 13578;
        d.name = 'd';
        d.age = 35;
        d.fabiaoshu = 6;
        Teacher e = new Teacher();
        e.number = 13526;
        e.name = 'e';
        e.age = 32;
        e.fabiaoshu = 2;
        if (a.fabiaoshu > 2) {
            System.out.println("发表论文数多于两篇的老师");
            System.out.println("姓名" + a.name);
            System.out.println("编号" + a.number);
        }
        if (b.fabiaoshu > 2) ;
        {
            System.out.println("发表论文数多于两篇的老师");
            System.out.println("姓名" + b.name);
            System.out.println("编号" + b.number);
        }
        if (c.fabiaoshu > 2) {
            System.out.println("发表论文数多于两篇的老师");
            System.out.println("姓名" + c.name);
            System.out.println("编号" + c.number);
        }
        if (d.fabiaoshu > 2) {
            System.out.println("发表论文数多于两篇的老师");
            System.out.println("姓名" + d.name);
            System.out.println("编号" + d.number);
        }
        if (e.fabiaoshu > 2) {
            System.out.println("发表论文数多于两篇的老师");
            System.out.println("姓名" + e.name);
            System.out.println("编号" + e.number);
        }
    }
}